package cn.pop.hsp_system_v2.Service;

import cn.pop.hsp_system_v2.Pojo.*;

import java.util.List;


public interface IAppointService
{
    /**
     * deleteAppointmentById删除预约
     *      *
     *      * updatePatientCard更新医保卡
     *      * updateAppointment更新预约
     *      * updateScheduling更新时间表
     *      *
     *      * insertAppointment新增预约
     *      * insertPatientCard新增医保卡
     *      *
     *      * selectDoctorById查找医生
     *      * selectSchedulingByDoctorId查找时间表
     *      * selectPatientCardById查找医保卡
     *      *
     *      * selectDoctorList查找医生们
     *      * selectAppointmentList查找预约表
     *      * selectSchedulingList查找时间表
     *      * selectPatientCardList查找医保卡表
     */
    public Doctor selectDoctorById(Long doctor_id);
    public Scheduling selectSchedulingByDoctorId(Long doctor_id);
    public PatientCard selectPatientCardById(Long uuid);

    public List<Doctor> selectDoctorList(Doctor doctor);
    public List<Appointment> selectAppointmentList(Appointment appointment);
    public List<Scheduling> selectSchedulingList(Scheduling scheduling);
    public List<PatientCard> selectPatientCardList(PatientCard patientCard);

    public int insertAppointment(Appointment appointment);
    public int insertPatientCard(PatientCard patientCard);

    public int updatePatientCard(PatientCard patientCard);
    public int updateAppointment(Appointment appointment);
    public int updateScheduling(Scheduling scheduling);

    public int deleteAppointmentById(Long uuid);
}
